package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * TbPractice entity. @author MyEclipse Persistence Tools
 */

public class TbPractice implements java.io.Serializable {

	// Fields

	private Integer practiceId;
	private TbPaper tbPaper;
	private Set tbStudentinpractices = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbPractice() {
	}

	/** minimal constructor */
	public TbPractice(TbPaper tbPaper) {
		this.tbPaper = tbPaper;
	}

	/** full constructor */
	public TbPractice(TbPaper tbPaper, Set tbStudentinpractices) {
		this.tbPaper = tbPaper;
		this.tbStudentinpractices = tbStudentinpractices;
	}

	// Property accessors

	public Integer getPracticeId() {
		return this.practiceId;
	}

	public void setPracticeId(Integer practiceId) {
		this.practiceId = practiceId;
	}

	public TbPaper getTbPaper() {
		return this.tbPaper;
	}

	public void setTbPaper(TbPaper tbPaper) {
		this.tbPaper = tbPaper;
	}

	public Set getTbStudentinpractices() {
		return this.tbStudentinpractices;
	}

	public void setTbStudentinpractices(Set tbStudentinpractices) {
		this.tbStudentinpractices = tbStudentinpractices;
	}

}